import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
import toast from './components/common/toast/index.js'

Vue.config.productionTip = false;
Vue.use(ElementUI);
//安装toast插件
Vue.use(toast);
Vue.prototype.$bus = new Vue();

new Vue({
    router,
    store,
    render: h => h(App)
}).$mount('#app')